import { createApp } from 'vue'
import App from "./App.vue"
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from "@/assets/router-index.js";
import "@/assets/axios-config.js"
import { createPinia } from 'pinia';


const pinia = createPinia();

const app = createApp(App)
app.use(ElementPlus);
app.use(router);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(pinia);
app.mount("#app");